package com.example.midprojcampusspringboot.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  负责班级的教师关联表
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_teacher_class")
public class TTeacherClass {

  @TableId(type = IdType.AUTO)
  private long teacherId;
  @TableId(type = IdType.AUTO)
  private long classId;

}
